﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ContactUsEditor.aspx.cs" Inherits="SiteWorx_WebParts_Basic_ContactUs_ContactUsEditor" Theme="Admin" StylesheetTheme="Admin" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Contact Us Editor</title>

    <script type="text/javascript">
        //A function that will return a reference to the parent radWindow in case the page is loaded in a RadWindow object
        function getRadWindow() {
            var oWindow = null;
            if (window.radWindow) oWindow = window.radWindow;
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
            return oWindow;
        }
    </script>

</head>
<body>
    <form id="frmContactUsEditor" runat="server">
    <telerik:RadStyleSheetManager ID="rssContactUsEditor" runat="server">
    </telerik:RadStyleSheetManager>
    <telerik:RadScriptManager ID="rsmContactUsEditor" runat="server" EnableTheming="True">
    </telerik:RadScriptManager>
    <telerik:RadFormDecorator ID="rfdContactUsEditor" runat="server" Skin="Telerik"
        DecoratedControls="CheckBoxes, RadioButtons" />
    <div>
        <telerik:RadAjaxPanel runat="server" ID="rapnlContactUsEditor" HorizontalAlign="NotSet"
            LoadingPanelID="ralContactUsEditor">
            <table border="0">
                <tr>
                    <td>
                        <fieldset>
                            <legend>Contact Us Web Part Properties</legend>
                        <table border="0" width="540" class="form">
                         <tr>
                            <td>
                                <strong>Place semi-colons between email addresses.</strong>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                *Send Email To:<br />
                                <asp:TextBox ID="txtEmailTo" runat="server" Width="236px" Height="53px" TextMode="MultiLine"></asp:TextBox>
                                &nbsp;<asp:RequiredFieldValidator ID="rfvEmailTo" runat="server" ErrorMessage="Send to email address is required."
                                                    ControlToValidate="txtEmailTo"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Send CC To:<br />
                                <asp:TextBox ID="txtCC" runat="server" Width="236px" Height="53px" TextMode="MultiLine"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Send BCC To:<br />
                                <asp:TextBox ID="txtBCC" runat="server" Width="236px" Height="53px" TextMode="MultiLine"></asp:TextBox>
                            </td>
                        </tr>
                            </table>
                        </fieldset>
                    </td>
                </tr>
            </table>
            <br />
            <asp:Button runat="server" ID="btnFinish" Text="Finish" CommandName="Update" OnClick="btnFinish_Click" />&nbsp;<asp:Button
                runat="server" ID="btnCancel" Text="Cancel" CausesValidation="False" CommandName="Cancel"
                OnClick="btnCancel_Click" />
        </telerik:RadAjaxPanel>
        <telerik:RadAjaxLoadingPanel ID="ralContactUsEditor" runat="server" Height="75px"
            Width="75px" Style="position: relative; top: -50%; left: 45%;" IsSticky="true">
            <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'
                style="border: 0px;" />
        </telerik:RadAjaxLoadingPanel>
    </div>
    </form>
</body>
</html>
